package cn.topevery.garden.entity.dto;

import hw.topevery.framework.annotation.DbTableField;
import hw.topevery.framework.dto.PointDto;
import hw.topevery.framework.enums.DbTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.locationtech.jts.geom.Geometry;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 *  DTO
 *
 * @author code-generate
 * @date 2021-08-06
 */
@Data
@ApiModel(value = "SectionDTO", description = " DTO")
public class SectionDTO implements Serializable{
    /**
     * 自增id
     */
    private Integer id;

        /** 标段ID */
    @ApiModelProperty(value = "标段ID")
    private String sectionId;

    /** 标段编号 */
    @ApiModelProperty(value = "标段编号")
    private String code;

    /** 标段名称 */
    @ApiModelProperty(value = "标段名称")
    private String name;

    /** 简称 */
    @ApiModelProperty(value = "简称")
    private String shortName;

    /** 范围 bd09 */
    @ApiModelProperty(value = "范围 bd09")
    private Geometry geomBd09;

    /** 范围  wgs84 */
    @ApiModelProperty(value = "范围  wgs84")
    private Geometry geomWgs;

    /** 范围 大地2000 */
    @ApiModelProperty(value = "范围 大地2000")
    private Geometry geom2000;

    /** 范围  火星 */
    @ApiModelProperty(value = "范围  火星")
    private Geometry geomGcj02;

    /** 范围 百度魔卡托平面 */
    @ApiModelProperty(value = "范围 百度魔卡托平面")
    private Geometry geomMkt;

    /** 标段状态（-1：停用；0：未提交；1：审核中；2：正常） */
    @ApiModelProperty(value = "标段状态（-1：停用；0：未提交；1：审核中；2：正常）")
    private Integer state;

    /** 创建时间 */
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime dbCreateDate;

    /** 创建人员ID t_sys_user.c_id */
    @ApiModelProperty(value = "创建人员ID t_sys_user.c_id")
    private Integer dbCreateId;

    /** 最后更新时间 */
    @ApiModelProperty(value = "最后更新时间")
    private LocalDateTime dbLastUpdateDate;

    /** 最后更新人员ID t_sys_user.c_id */
    @ApiModelProperty(value = "最后更新人员ID t_sys_user.c_id")
    private Integer dbLastUpdateId;

    /**  */
    @ApiModelProperty(value = "")
    private String stateDesc;

    @ApiModelProperty(value = "负责人")
    private String people ;

    @ApiModelProperty(value = "联系方式")
    private String phone ;

    @ApiModelProperty(value = "面积")
    private String measure ;

    @ApiModelProperty(value = "位置描述")
    private String address ;

    @ApiModelProperty(value = "备注")
    private String desc ;

    @ApiModelProperty(value = "标段类型")
    private String typeId ;


    public String mainManageDeptId ;

    public String manageDeptId ;


    @ApiModelProperty(value = "范围点信息")
    private List<List<PointDto>> mapRangesPoints;

}
